import './config/global';
import Vue from 'vue';
import App from './App.vue';
import router from './routes';
import store from './store';
import Message from './plugins/Message';
import Alert from './plugins/Alert';
import hSelector from './plugins/hSelector';
import './utils/rem';
import './utils/filters';
import './utils/directives';
import '~/app.scss';
import './routes/beforeEach';

Vue.use(Message);
Vue.use(Alert);
Vue.use(hSelector);

Vue.config.productionTip = false;

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app');
